home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / rebound.swf / scripts / frame_15 / PlaceObject2_400_183 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  241 b   |  12 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hot.hitTest(_root.ball) and pushbar == 0)
  3.    {
  4.       pushbar = 1;
  5.       _root.wall.door.play();
  6.    }
  7.    if(this.hot.hitTest(_root.ball) == false and pushbar == 1)
  8.    {
  9.       pushbar = 0;
  10.    }
  11. }
  12.